package com.java.zhuiyun.api.course_pc.service;

import com.java.zhuiyun.common.response.CommonResult;

/**
 * @InterfaceName CoursePcService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/8/21 11:48
 **/

public interface CoursePcService {
    /*
    * @Author wuwan
    * @Description 教师查询
    * @Date 2023/8/21 16:03
    * @Return
    * @param null
    */
    CommonResult getTeacher(Integer id);
    /*
     * @Author wuwan
     * @Description 查询课程
     * @Date 2023/8/21 15:00
     * @Return
     * @param null
     */
    CommonResult selectCourse(Integer tid);
    /*
     * @Author wuwan
     * @Description 查询章节
     * @Date 2023/8/21 15:00
     * @Return
     * @param null
     */
    CommonResult selectUnit();
    /*
    * @Author wuwan
    * @Description 章节视频查询
    * @Date 2023/8/22 8:55
    * @Return
    * @param null
    */
    CommonResult playVideo(Integer fid);

    String buyCourse(Integer cid, Integer uid);

    CommonResult queryByUser(Integer userId);
}
